package com.woniuxy.dao;

import com.woniuxy.entity.AssetInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName AssetDao
 * @Description TODO
 * @Author LI.hh
 * @Date 2022/9/20 15:38
 * @Version 1.0
 */
@Mapper
public interface AssetDao {

    int addAsset(AssetInfo assetInfo);

    AssetInfo findFinalId();

    int updateAsset(@Param("a")AssetInfo assetInfo,@Param("id") int id);
}
